home *** CD-ROM | disk | FTP | other *** search
- .TH GPOLYGON
- 6 "IRIT Version 6.0"
- .SH NAME
- GPOLYGON
-
-
-
- PolygonType GPOLYGON( GeometryTreeType Object, NumericType Normals )
-
- Approximates all Surface(s)/Trimmed surface(s)/Trivariate(s) in Object
- with polygons using the RESOLUTION and FLAT4PLY variables. The larger the
- RESOLUTION is, the finer (more polygons) the resulting approximation will be.
-
- FLAT4PLY is a Boolean flag controlling the conversion of an (almost) flat
- patch into four (TRUE) or two (FALSE) polygons. Normals are computed to
- polygon vertices using surface normals, so Gouraud or Phong shading can be
- exploited. It returns a single polygonal object.
-
- If Normals is set, surface normals will be evaluated at the
- vertices. Otherwise flat shading and constant normals across polygons are
- assumed.
-
- Example:
-
- Polys = GPOLYGON( list( Srf1, Srf2, Srf3 ), off );
-
- Converts to polygons the three surfaces Srf1, Srf2, and Srf3
- with no normals.
-